package game.core.util
{
	import flash.text.TextField;
	import flash.text.TextFormat;
	
	import game.core.util.DisplayUtil;
	
	import gs.TweenLite;
	import gs.easing.Circ;
	
	/**
	 * 每次飘起的效果
	 */ 
	public class TextFieldUtil
	{
		public static const MOVE_PIXELS:Number = 30;
		
		public function TextFieldUtil()
		{
			super();
		}
		
		/**
		 * 具体影响的值
		 */ 
		public static function createTextField(value:int):TextField{
			var textField:TextField = new TextField();
			textField.text = value.toString();
			var format:TextFormat = new TextFormat();
			format.size = 20;
			textField.setTextFormat(format);
			return textField;
		}
		
		public static function getScoreTextfield():TextField{
			var tf:TextField = new TextField();
			tf  = new TextField();
			tf.textColor = 0xff0000;
			return tf;
		}
	}
}